package xs.szw.service.model.dto.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @program: xs_oa
 * @description:
 * @author: Songzw
 * @create: 2025-02-06 14:51
 **/
@Data
@Schema(description = "user传输对象信息")
public class UserDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 会员id
     */
    @Schema(description  = "会员id")
    private Long id;
    /**
     * 用户名
     */
    @Schema(description = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickname;

    /**
     * 密码
     */
    @Schema(description = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    private String captchaKey;

    private String captchaCode;

}
